package com.xianzhiOA.service;

import com.xianzhiOA.bean.DateResult;
import com.xianzhiOA.bean.SearchBean;
import com.xianzhiOA.bean.XzPerson;
import com.xianzhiOA.util.PageBean;

import java.io.File;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/3/31.
 */
public interface XzPersonService {
    int insert(XzPerson record);
    XzPerson findById(Long id);
    int updateByPrimaryKey(XzPerson record);
    int updateByPrimaryKeySelective(XzPerson person);
    XzPerson findByIdForComment(Long id);
    PageBean<XzPerson> selAll(SearchBean<XzPerson> searchPerson);
    int insertBatch(List<File> excelFiles, Map<String,File> worldFiles, String type,String path);
    List<DateResult> selectAchievement(Map<String,Object> map);
    int deletePerson(Long id);
}
